-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infrastructure for testing inter project imports and exports #6840
Infrastructure for testing inter project imports and exports #6840
Conversation
Trying to test how inter project imports work I realized I don't know what approch to copy!? There is: None of them (as far as I can tell) shows how to test inter project imports. All the imports and exports are happening inside of a single project. This PR is my attempt to show how a testing infrastructure for inter project exports and imports could look like. Of course, as Pavel told me last week, the problem is Turns out that the most important trick is to put the Is this OKeyish testing infrastructure Hubert, Pavel? |
OK, 18b5c29 probably wasn't good idea. There are two failing tests:
I need to change them to get just the original |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I can't wait to add more libraries and more tests. This will make the transition to the better import system much smoother.
engine/runtime/src/test/scala/org/enso/interpreter/test/InterpreterException.scala
Outdated
Show resolved
Hide resolved
The edition configuration can be extended by defining a custom edition for the test project. I'm not sure if there are good examples how to do it in a test project and I imagine there could be some obstacles to working with editions in a test environment (although ideally there shouldn't be any obstacles), but it should be very well doable to define custom editions for testing purposes. |
test/micro-distribution/lib/Test/Logical_Export/0.0.0-dev/src/Impl/Internal.enso
Outdated
Show resolved
Hide resolved
I don't think there is any Thanks for the edition link:
It is always valuable to be able to see the original design ideas. |
Reviewers, please vote. "Thumbs up" it is OK as it is. "Thumbs down" to investigate the following change:
Should I move the |
Co-authored-by: Hubert Plociniczak <[email protected]>
…thers get exception with compiler output
…gInterProjectImports
I think that the current structure is sufficient. It allows us to (easily) create other libraries just by adding them to |
Jaroslav Tulach reports a new STANDUP for the last Friday (2023-05-26): Progress: - import/export test infrastructure merged: #6840
Next Day: Bookclubs, bugfixing, ascribed types |
…le-6756-6804 * develop: (22 commits) Coalesce graph editor view invalidations (#6786) Append warnings extracted before tail call execution (#6849) Detect and override hooks of the same kind (#6842) Dynamic app resampling and better performance measurements. (#6595) Show spinner when opening/creating a project, take #2 (#6827) Infrastructure for testing inter project imports and exports (#6840) Only initialise visualisation chooser if it is used. (#6758) Allow casting a Mixed column into a concrete type (#6777) Stop graph editing when in full-screen visualization mode (#6844) Handle `show-dashboard` event (#6837) Fix some dashboard issues (#6668) Fix JWT leak (#6815) Fix "set username" screen (#6824) Fallback to opened date when ordering projects (#6814) Various test improvements to increase coverage and speed things up (#6820) do not activate nested dropdowns together (#6830) Clearly select single specialization with enum dispatch pattern (#6819) Prevent incorrect application of list widget on incompatible expressions (#6771) Update GraalVM to 22.3.1 JDK17 (#6750) Import/export syntax error have more specific messages (#6808) ...
Pull Request Description
Infrastructure for testing inter project imports with few succeeding tests.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,